Rewrite each as a single logarithm.